﻿

namespace SoftServe.HrManager
{
    using System;

    public class OrderDetails : IEquatable<OrderDetails>
    {
        public int Id { get; set; }

        public DateTime StartDate { get; set; }

        public string ClientName { get; set; }

        public bool IsNeededJavaFrontEnd { get; set; }
        
        public bool IsNeededCSharpFrontEnd { get; set; }

        public bool Equals(OrderDetails other)
        {
            if (other != null)
                return other.Id == Id;

            return false;
        }
    }
}
